package com.sx.jys.app.net.bean

import me.hgj.jetpackmvvm.network.BaseResponse


/**
 * @Description
 * @Author 梁浩文
 * @Date 2022/9/17 14:59
 */
data class EmptyDataApiResponse(val status: Boolean, val desc: String) :
    BaseResponse<EmptyDataApiResponse>() {

    // 这里是示例，wanandroid 网站返回的 错误码为 0 就代表请求成功，请你根据自己的业务需求来改变
    override fun isSucces() = status

    override fun getResponseCode() = 200

    override fun getResponseData() = this

    override fun getResponseMsg() = desc

}